package com.demo.study.proxy.impl;

import com.demo.study.proxy.IUserService;

/**
 * UserSEnum
 *
 * @author Baymax
 * @since 2024-11-16
 */
public enum UserSEnum implements IUserService {
    USER_1("USER_1: 你好啊"),
    USER_2("USER_2: 你好啊"),
    USER_3("USER_3: 你好啊");

    private String content;

    UserSEnum(String content) {
        this.content = content;
    }

    @Override
    public void add() {
        System.out.println("UserSEnum add.");
    }

    @Override
    public String query() {
        return content;
    }
}
